package mapping;

import java.util.List;

import pojo.User;

public interface UserMapper {
	public User selectUsersById(int id);

	public User selectUsersByCode(String code);

	public List<User> selectUsersByName(String name);

	public User userLogin(User user);

	public void insertOne(User user);

	public void deleteUserById(int id);

	public List<User> getAllUsers();

	public void resetUserPassword(User user);
	
	public void updateUser(User user);
}
